package com.ruoyi.productCheck.mapper;

import com.ruoyi.productCheck.domain.CheckInformation;
import com.ruoyi.productCheck.domain.CheckInformationModel;
import com.ruoyi.productCheck.domain.CheckSample;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author
 * @Version 1.0
 */
@Mapper
public interface CheckInformationMapper {

    public int addInformation(CheckInformation checkInformation);

    public int addInformationModel(CheckInformationModel checkInformationModel);

    public int addCheckSample(CheckSample checkSample);

    public void  removeCheckInformation(Long checkId);

    public void removeCheckInformationModel(Long checkId);

    public List<CheckInformation> informationList(CheckInformation checkInformation);

    public CheckInformation selectInformation(Long checkId);

    public CheckInformation selectInformationLast(Map<String,Object> resMap);

    public int updateInformation(CheckInformation checkInformation);

    public List<CheckInformation> auditInformation(Long deptId);

    public int addInformationTemplate(CheckInformation checkInformation);

    public int addInformationModelTemplate(CheckInformationModel checkInformationModel);

    public void  removeCheckInformationTemplate(Long checkId);

    public void removeCheckInformationModelTemplate(Long checkId);

    public CheckInformation selectInformationTemplate(Map<String,Object> resMap);

    public List<CheckInformationModel> selectInformationModelTemplate(Map<String,Object> resMap);

    public List<CheckSample> selectCheckSample(Long checkId);

    public List<CheckInformationModel> selectCheckInformationModel(Long checkId);



}
